// *********************************************************
//      Copyright (c) Kosta Gaitanis
//      All rights reserved
//
//      k.gaitanis@gmail.com
//
// *********************************************************

#ifndef RECTANGLE_H
#define RECTANGLE_H

#include "Item.h"

class Rectangle : public Item
{
public:
    Rectangle(double size, const QString& name = "Cube");
    Rectangle(double width, double height, double depth, const QString& name = "Parallelepiped");

protected:
    virtual void onFrameChanged(double frame);

private:
    void createRectangle(double w, double h, double d);
};

#endif // RECTANGLE_H
